package cn.javabb.core.constant;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2019/12/03 17:13
 */
public class SysConstant {
    /*超级管理员角色*/
    public static final Integer ADMIN_ROLE_ID = 1;

    public static final String ADMIN_ROLE_CODE = "administrator";

    /**
     * 用户Grade类型 0普通用户 1vip 2超级vip
     */
    public static final Integer USER_GRADE_GENERAL = 0;
    public static final Integer USER_GRADE_VIP = 1;
    public static final Integer USER_GRADE_SUPERVIP = 2;

    /**
     * 类型   0：目录   1：菜单   2：按钮
     */
    public static final Integer MENU_TYPE_CATALOG = 0;
    public static final Integer MENU_TYPE_MENU = 1;
    public static final Integer MENU_TYPE_BUTTON = 2;

    /**
     * 权限类型    1为目录权限 2为板块权限 3为其他权限
     */
    public static final Integer PERMISSION_TYPE_MENU = 1;
    public static final Integer PERMISSION_TYPE_CATALOG = 2;
    public static final Integer PERMISSION_TYPE_DOWNLOAD = 3;
}
